<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<title>我的钱包</title>
<link rel="stylesheet" type="text/css" href="/style/css/base.css?ver=20190812"/>
<link rel="stylesheet" type="text/css" href="/style/css/swiper.min.css?ver=20190812"/>
<link rel="stylesheet" type="text/css" href="/style/wei/css/xshop.css?ver=20190812" />
<link rel="stylesheet" type="text/css" href="/style/css/xshop.css?ver=20190812" />
<script src="/style/js/jquery-1.12.0.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/style/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/style/js/xShop.js" type="text/javascript" charset="utf-8"></script>
<style>
.ml{position: absolute; right: 0rem; width:1.8rem; height: .6rem;  background-image: url(/style/wei/images/me/melv.png);  background-size: cover; line-height: .65rem; border-radius: .5rem 0 0 .5rem; font-size:.28rem; text-align: right;padding-right: .2rem;}
.al{position: absolute; right: 0rem; width:1.8rem; height: .6rem; background-color: rgba(255,255,255,0.2); line-height: .65rem; border-radius: .5rem 0 0 .5rem; font-size:.28rem; text-align: right;padding-right: .2rem; top: 1rem;}
.al2{position: absolute; right: 0rem; width:1.8rem; height: .6rem; background-color: rgba(255,255,255,0.2); line-height: .65rem; border-radius: .5rem 0 0 .5rem; font-size:.28rem; text-align: right;padding-right: .2rem; top: 1.8rem;}
.foot-menu ul{ height: 1rem;line-height: 1rem; }
</style>
</head>
<body>
<div class="outwrap">
  <!--top-->	
	<!-- <div class="topbar clearfix topvh">
		<a href="/user/index" class="btn-back">
			<i class="ico-back"></i><span>资金管理</span>
		</a>
	</div> -->
	
	
  <div class="in-mian-me">
    <div class="mybag-top1" style="background: url(/style/wei/images/me/mebg.png) no-repeat #fff;background-size: 100%; padding-top: .2rem;">
      <div class="ml">
        <?=$this->c['member_level'][$this->member['member_level']];?>
      </div>
      <?php
      if($this->member['agent_level']>0)
      {
      ?>
      <div class="al">
        <?=$this->c['agent_level'][$this->member['agent_level']];?>
      </div>
      <?
      }
      ?>
      <?php
      if($this->member['maker_level']>0)
      {
      ?>
      <div class="<?php if($this->member['agent_level']>0):?> al2 <?php else:?> al <?php endif;?>  ">
        <?=$this->c['maker_level'][$this->member['maker_level']];?>
      </div>
      <?
      }
      ?>
      <div id="user_info">
          <div class="me-top-touxiang">
              <a href="#">
                  <?php if($this->member['wechat_headimgurl']!=""){ ?>
                    <img src="<?=$this->member['wechat_headimgurl']?>"/>
                  <?php } else{ ?>
                  <img src="/style/wei/images/img2.png" />
                  <?php } ?>
              </a>
         </div>
         <h3 class="me-top-name" id="dd" style="color: #fff; font-weight: normal;padding:.1rem 0 .3rem 0;"><?=$this->member['realname']?></h3>                                        
      </div>      
    </div>  

    <div class="bagmd bagmd-name" style="margin-top: 10px; border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;background: #fff; height: .8rem; line-height: .8rem; font-size: .3rem;">
        <div style="float: left;width:50%; height: auto; text-align: center;">
        姓名：<?=$this->member['name']!="" ? $this->member['name'] : '<a href="/user/update_account?type=name">点击设置</a>'; ?>
      </div>
      <div style="float: left;width:50%; height: auto; text-align: center;">
        ID：<?=$this->member['recode']!="" ? $this->member['recode'] : $this->member['uid']."8"; ?>
      </div>
      </div>        
      <div class="bagmd bagmd-top" style="margin-top: 10px; border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;background: #fff; height: 1.5rem; font-size: .25rem; padding: .2rem 0; color: #666; line-height: .4rem;">

        <div style="float: left;width:35%; height: auto;padding-left: 10%;">
          <div style="position: absolute; margin:-.05rem 0 0 -.6rem; width:25px; height: 25px; background-image:  url(/style/images/me/wallet_1.png); background-size: cover;"></div>
          硒豆
          <p style="color: #f02c25; font-size: .4rem;padding-top: .1rem;"><?=number_format($this->balance['money'],2,".","");?></p>

        </div>
        
        <div style="float: left;width:39%; height: auto;padding-left: 10%; border-left: 1px solid #f2f2f2;">          
          <div style="position: absolute; margin:-.05rem 0 0 -.6rem; width:25px; height: 25px; background-image:  url(/style/images/me/wallet_2.png); background-size: cover;"></div>
          金花
          <p style="color: #f02c25; font-size: .4rem;padding-top: .1rem;"><?=$this->balance['gold_money'];?></p>
        </div>
       

        <div style="float: left;width:90%; height: auto; padding-left: 10%; margin-top: .15rem;">
            <span style="margin-right: .3rem;">可提现：<?=$this->balance['revenue'] <= $this->balance['money'] ? $this->balance['revenue'] : $this->balance['money'];?></span>
            累计：<?=number_format($this->balance['separate_count'],2,".","");?>
        </div>
        
        
      </div>      
      <div class="bagmd bagmd-top" style="border-bottom:1px solid #f2f2f2;background: #fff; height: 1rem; font-size: .25rem; padding: .2rem 0; color: #666; line-height: .4rem;">

        <div style="float: left;width:20%; height: auto; margin-left: 13%;">
          <div style="position: absolute;  margin:-.1rem 0 0 -.6rem; width:25px; height: 25px; background-image:  url(/style/images/me/wallet_3.png); background-size: cover;"></div>
          代金券
          <p style="color: #f02c25; font-size: .4rem;padding-top: .1rem;"><?=($this->balance['coupon']*1);?></p>

        </div>
        
        <div style="float: left;width:20%; height: auto; padding-left: 13%; border-left: 1px solid #f2f2f2;">
          <div style="position: absolute;  margin:-.1rem 0 0 -.6rem; width:25px; height: 25px; background-image:  url(/style/images/me/wallet_4.png); background-size: cover;"></div>
          商品票
          <p style="color: #f02c25; font-size: .4rem;padding-top: .1rem;"><?=($this->balance['ticket']*1);?></p>

        </div>
        <div style="float: left;width:20%; height: auto; padding-left: 13%; border-left: 1px solid #f2f2f2;">
          <div style="position: absolute;  margin:-.1rem 0 0 -.6rem; width:25px; height: 25px; background-image:  url(/style/images/me/wallet_5.png); background-size: cover;"></div>
          硒米
          <p style="color: #f02c25; font-size: .4rem;padding-top: .1rem;"><?=($this->balance['ximi_money']*1);?></p>

        </div>
       
        
        
      </div> 
               
    <div class="mybag-tool mt20">
      <ul class="clearfix">        
        <li><a href="/wallet/pickup">
        <i class="ico"><img src="/style/images/me/ico_zj_1.png"/></i>
        <p>提现申请</p>
        </a></li>
        <li><a href="/wallet/detail">
        <i class="ico"><img src="/style/images/me/ico_zj_2.png"/></i>
        <p>提现记录</p>
        </a></li>  
        <li><a href="/wallet/log">
        <i class="ico"><img src="/style/images/me/ico_zj_5.png"/></i>
        <p>收支明细</p>
        </a></li>         
        <li><a href="/wallet/my_bank">
        <i class="ico"><img src="/style/images/me/ico_zj_4.png"/></i>
        <p>银行卡管理</p>
        </a></li>
        <li><a href="/wallet/transfer_money">
        <i class="ico"><img src="/style/images/me/ico_zj_6.png"/></i>
        <p>硒豆转金花</p>
        </a></li>
        <li><a href="/wallet/drz">
        <i class="ico"><img src="/style/images/me/ico_zj_7.png"/></i>
        <p>待入账</p>
        </a></li>     
      </ul>
    </div>
  </div>


</div>

<!--底部导航-->
<div class="foot-menu">
    <ul class="clearfix">
        <a href="/"><li><i class="ico-7"></i><span>首页</span></li></a>
        <a href="/rcm"><li><i class="ico-1"></i><span>商城</span></li></a>
        <a href="/cart/cart"><li><i class="ico-5"></i><span>购物车</span></li></a> 
        <a href="/college"><li><i class="ico-8"></i><span>商学院</span></li> </a>
        <a href="/user/index"><li class="on"><i class="ico-4"></i><span>我的</span></li></a>     
    </ul>
</div>
</body>
</html>
